# [3,5,8,7,2,0] 求列表最大值
z=[3,5,8,2,0]
a=0
w=z[0]
while a<len(z):
    if w<z[a]:
        w=z[a]
    a+=1
print(w)